package com.example.zhanghao.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author wenJie
 * @since 2025-10-11
 */
@Getter
@Setter
@ToString
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 名称
     */
    private String name;

    /**
     * 数值
     */
    private Integer total;

    /**
     * 价格
     */
    private Integer price;

    /**
     * 类型id
     */
    private Long typeId;
}
